package com.leiduoduo.oms.dao;

import com.leiduoduo.oms.pojo.DishType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DishTypeDao {
    boolean addDishType(DishType dishType);
    boolean delDishType(DishType dishType);
    boolean upDishType(DishType dishType);
    DishType getDishTypeById(int id);
    List<DishType> getDishTypeList();
    List<DishType> getDishTypeByRestId(int restaurant_id);
}
